<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="shortcut icon" href="__IMG__/favicon.ico" />
		<link rel="bookmark" href="__IMG__/favicon.ico" type="image/x-icon" 　/>
		<title>推广人数</title>
		<link rel="stylesheet" type="text/css" href="__CSS__/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__CSS__/common.css"/>
		<script src="__JS__/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" charset="utf-8">
	      	mui.init();
      </script>
      <style type="text/css">
       	.table_box table{
       		width: 100%;
       		text-align: center;
       		border: none;
       		background: #FFF;
       	}
       	.table_box table th{
       		background: #D8D8D8;
       	}
       	.table_box table th,.table_box table td{
       		border: none;
       		padding: 10px 2px;
       	}
       	.table_box table tr{
       		border-bottom: 1px solid #D8D8D8;
       	}
       </style>
	</head>
	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title">推广代理(共{$count}人)</h1>
		    <a href="{:url('mine/promotion_center')}" class="right padding_10 blue">我的二维码</a>
		</header>
		
		<div class="mui-content">
		    <div class="table_box">
		    	<table border="" cellspacing="" cellpadding="">
		    		<tr>
		    			<th>时间</th>
						<th>头像</th>
						<th>等级</th>
		    			<th>名称</th>
		    			<th>手机</th>
		    		</tr>
					{foreach $data as $k=>$v}
						<tr>
							<td>{$v.create_at|date="y-m-d",###}</td>
							<td><img width="40px" src="{$v['head']|default='__IMG__/user_head.png'}" style="border-radius: 50%"></td>
							<td>{$v.level}</td>
							<td><a style="color: #15C0FE" href="{:url('mine/transaction_record',array('b_uid'=>$v['id']))}">{$v.nickname}</a></td>
							<td>{$v.mobile}</td>
						</tr>
					{/foreach}
		    	</table>
		    </div>
		</div>
	</body>
</html>
